window.jq(document).ready(function () {
	//$('#calendar').eCalendar();
	window.jq('#calendar').eCalendar({
		weekDays: ['Mon', 'Tue', 'Wen', 'Sta', 'Fri', 'Sat', 'Sun'],
		months: ['一月', '二月', '三月', '四月', '五月', '六月',
			'七月', '八月', '九月', '十月', '十一月', '十二月'],
		events: [
			{title: '吃饭', description: '记得吃饭记得吃饭记得吃饭饭', datetime: new Date(2016, 7, 25, 15)},
			{title: 'Event Title 2', description: 'Description 2', datetime: new Date(2016, 8, 30, 12)},
			{title: 'Event Title 3', description: 'Description 3', datetime: new Date(2016, 7, 17, 17)},
			{title: 'Event Title 4', description: 'Description 4', datetime: new Date(2015, 4, 1, 12)}
		]
	});
	window.jq(".c-day").click(function(){
		//var rclick='<label style="background-color: white;padding:3px;z-index: 999;position: relative;top:0px;left: 10px;">添加事件</label>';
		var index=window.jq(".c-day").index(this);

		//alert("hhh");
	})
});